package org.commonsemantics.scigrails.module.users.security

/**
* @author Paolo Ciccarese <paolo.ciccarese@gmail.com>
*/
enum DefaultRoles {
	ADMIN("ROLE_ADMIN", "Admin", "Administrator can set up an instance of the platform and create other administrators or managers."), 
	MANAGER("ROLE_MANAGER", "Manager", "Managers are allowed to create groups and assign their management to specific users that will cover specific roles in that context."), 
	USER("ROLE_USER", "User", "Users are allowed to create groups ")
	
	
	DefaultRoles(String value, String label, String description) { 
		this.value = value 
		this.label = label;	
		this.description = description;
	}
	
	private final String value
	public String value() { return value }
	private final String label
	public String label() { return label }
	private final String description
	public String description() { return description }
}
